﻿<%@ Page PathInChannel="category/in/logo/{ID}{Ext}" Object="Category" %>
<%@ OutputCache Duration="7200" VaryByParam="none" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<ali:Get ID="Category" Object="Category" PageID="Request.QueryString['ID']" ForMeta="true" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<%=MetaKeywords%>" />
<meta name="description" content="<%=MetaDescription%>" />
<title><%=Category[Name]%>（入 站，Logo显示） - <%=Channel[Name]%> - <%=Site[Name]%></title>
<ali:Comment><link rel="stylesheet" type="text/css" href="S01/CHS/css/common.css" /></ali:Comment>
<link rel="stylesheet" type="text/css" href="<%=CssPath%>common.css" />
<script type="text/javascript">
var _lang = "<%=PageLang%>";
</script>
</head>
<body>
<!-- TemplateBeginEditable name="菜单" -->
<div class="Wrap">
	<ali:Menu Condition="IsDisplay=true and CategoryID IS NULL and ParentID IS NULL">
		<div class="Menu">
			<ali:Record>
				<ali:Select>
					<ali:Yes>
						<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><strong><%=Name%></strong></a>
					</ali:Yes>
					<ali:No>
						<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
					</ali:No>
				</ali:Select>
				<ali:Separator>|</ali:Separator>
			</ali:Record>
		</div>
	</ali:Menu>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="广告位：网址 - Banner" -->
<div class="Wrap">
	<div class="Ad1">
		<ali:Ad Guid="{47FC1132-5CE5-4D19-80CE-4E865A14BAD1}">
			<a href="http://www.alibaza.com" target="_blank"><img src="<%=ImagePath%>ad/ad1.jpg" alt="Ad" style="width:980px;height:100px" /></a>
		</ali:Ad>
	</div>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="类别" -->
<ali:List Object="Category" Condition="IsDisplay=true and ParentID IS NULL">
	<div class="Wrap">
		<div class="SubMenu">
			<div class="Left"></div>
			<div class="Middle">
				<ali:Record>
					<a href="<%=BuildUrl()%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
					<ali:Separator>|</ali:Separator>
				</ali:Record>
			</div>
			<div class="Right"></div>
		</div>
	</div>
</ali:List>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="搜索" -->
<div class="Wrap">
	<form id="Search" action="<%=BuildUrl("search")%>" target="_blank">
		请输入关键词：
		<input type="text" name="q" size="40" class="Text <%=PageLang%>Font" />
		<input type="submit" value="搜 索" class="Submit" />
	</form>
</div>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<!-- TemplateBeginEditable name="广告位：网址 - 搜索下方 - 左" -->
	<div class="Ad2">
		<ali:Ad Guid="{D0B542BA-A5C9-46AB-8A2D-AEFAC9D58306}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad4.gif" alt="Ad" style="width:250px;height:60px" /></a>
		</ali:Ad>
	</div>
	<!-- TemplateEndEditable -->
	<!-- TemplateBeginEditable name="广告位：网址 - 搜索下方 - 中" -->
	<div class="Ad2">
		<ali:Ad Guid="{51516564-A24D-496D-8EF4-619C2C476884}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad7.gif" alt="Ad" style="width:480px;height:60px" /></a>
		</ali:Ad>
	</div>
	<!-- TemplateEndEditable -->
	<!-- TemplateBeginEditable name="广告位：网址 - 搜索下方 - 右" -->
	<div class="Ad2">
		<ali:Ad Guid="{06932EC2-EFF9-4067-AB8F-84487CEA6FE5}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad8.gif" alt="Ad" style="width:250px;height:60px" /></a>
		</ali:Ad>
	</div>
	<!-- TemplateEndEditable -->
</div>

<!-- TemplateBeginEditable name="路径" -->
<div class="Wrap">
	<div class="Path">当前位置：
		<ali:Path IncludeCurrentChannel="True">
			<ali:Record>
				<a href="<%=URL%>" title="<%=Name%>"><%=Name%></a> &gt; 
			</ali:Record>
		</ali:Path>
		<a href="<%=BuildUrl("list_logo_in")%>">网址列表</a> &gt; <%=Category[Name]%>（入 站，Logo显示）
	</div>
</div>
<!-- TemplateEndEditable -->

<div class="Wrap">
    <div class="Block1">
		<!-- TemplateBeginEditable name="广告位：网址 - 侧栏顶部" -->
		<ali:Ad Guid="{A62BB29C-FDB7-4D71-8BB7-7E84029726A2}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad3.gif" alt="Ad" style="width:214px;height:60px" /></a>
		</ali:Ad>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="分 类" -->
		<h2>分 类</h2>
		<ali:List Object="Category" Condition="IsDisplay=true">
			<ul class="List3">
				<ali:Record>
					<%If String.Equals(PageID, Request.QueryString["ID"])%>
						<li><a><strong><%=Name%></strong></a></li>
					<%Else%>
						<li><a href="<%=BuildUrl("category_logo_in")%>" title="<%=Name%>"><%=Name%></a></li>
					<%EndIf%>
				</ali:Record>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
			
		<!-- TemplateBeginEditable name="标 签" -->
		<h2>标 签</h2>
		<ali:List Object="Link.Tag" Operation="FilterList(1, 10, null)">
			<ul class="List3">
				<ali:Record>
					<li><a href="<%=BuildUrl("tag_logo_in")%>" title="<%=TagName%>"><%=TagName%></a></li>
				</ali:Record>
				<li><a href="<%=BuildUrl("tag_list")%>" title="更多标签">更多标签...</a></li>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="地 区" -->
		<h2>地 区</h2>
		<ali:List Object="Region">
			<ul class="List3">
				<ali:Record>
					<li><a href="<%=BuildUrl("region_logo_in")%>" title="<%=Name%>"><%=Name%></a></li>
				</ali:Record>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="广告位：网址 - 侧栏底部" -->
		<ali:Ad Guid="{9280A2E5-5D81-4852-B8FE-198BC2005F94}">
			<div class="Ad30">
				<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad5.jpg" alt="Ad" style="width:200px;height:200px" /></a>
			</div>
		</ali:Ad>
		<!-- TemplateEndEditable -->
    </div>

    <div class="Block2 Margin1">
        <div class="Title1">
			<div class="Left">
				<%=Category[Name]%> （<a href="<%=BuildUrl("category_in", Category)%>">改为文字显示</a>）
			</div>
			<div class="Right">
				<ul>
					<li><a href="<%=BuildUrl("category_logo", Category)%>"><span>最新加入</span></a></li>
					<li class="Selected"><a><span>入 站</span></a></li>
					<li><a href="<%=BuildUrl("category_logo_out", Category)%>"><span>出 站</span></a></li>
					<li><a href="<%=BuildUrl("category_logo_recommend", Category)%>"><span>站长推荐</span></a></li>
					<li><a href="<%=BuildUrl("category_logo_up", Category)%>"><span>用户推荐</span></a></li>
					<li><a href="<%=BuildUrl("category_logo_rank", Category)%>"><span>世界排名</span></a></li>
				</ul>
			</div>
		</div>
		
		<!-- TemplateBeginEditable name="列表" -->
		<div class="List1">
			<ali:List Object="Link" Condition="IsDeleted=false and IsChecked=true and Logo IS NOT NULL and In > 0 and IncludeSubCategory=Category[ID]" Sort="In DESC">
				<ali:Row MaxCol="1">
					<ul>
						<ali:Col MaxRecord="5">
							<ali:Record>
								<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Logo%>" alt="<%=Name%>" /></a></li>
							</ali:Record>
						</ali:Col>
					</ul>
				</ali:Row>
			</ali:List>
		</div>
		<!-- TemplateEndEditable -->
    </div>
</div>

<!-- TemplateBeginEditable name="广告位：网址 - 网页底部" -->
<div class="Wrap">
	<ali:Ad Guid="{EF0D4B29-B643-4906-9AC1-AF4A07E82211}">
		<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad9.jpg" alt="Ad" style="width:980px;height:70px" /></a>
	</ali:Ad>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="友情连接" -->
<ali:List Mark="System" Object="Link" Condition="IsChecked=true">
	<div class="Wrap">
		<div class="Link">
			<h1>友情链接</h1>
			<ul>
				<ali:Record>
					<li>
						<%If Convert.IsDBNull(Logo)%>
							<a href="<%=URL%>" target="_blank" title="<%=Name%>"><%=Name%></a>
						<%Else%>
							<a href="<%=URL%>" target="_blank" title="<%=Name%>"><img src="<%=Logo%>" alt="<%=Name%>" /></a>
						<%EndIf%>
					</li>
				</ali:Record>
			</ul>
		</div>
	</div>
</ali:List>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<div class="Footer">
		<!-- TemplateBeginEditable name="脚注菜单" -->
		<ali:Menu Condition="IsDisplay=true and CategoryID={BAC035A8-F6BB-4772-8D51-A7F4F3AB7AD3}">
			<ali:Record>
				<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
				<ali:Separator>|</ali:Separator>
			</ali:Record>
			<hr size="1" />
		</ali:Menu>
		<!-- TemplateEndEditable -->
	
		<%=Footer%>
	</div>
</div>

<script type="text/javascript" src="<%=CommonPath%>jquery/core.js"></script>
<script type="text/javascript" src="<%=CommonPath%>utility.js"></script>
<%If PageLang == "UYG" || PageLang == "KZA" || PageLang == "KGA"%>
	<script type="text/javascript" src="<%=CommonPath%>IlgharIme.js"></script>
<%EndIf%>
<script type="text/javascript" src="<%=JsPath%>common.js"></script>
<%=StatisticsCode%>
</body>
</html>
